Safe Database Queries with External Functions
نویسندگان
چکیده
We consider the theory of database queries with functions on the complex value data model. The notion of a syntactic criteria, called “embedded allowed”, for queries which guarantee embedded domain independence, is generalized for this model. We show that all embedded allowed calculus (or fix-point) queries are external function-domain independent and continuous. We also develop an algorithm for translating embedded allowed queries into equivalent algebraic expressions as a basis for evaluating safe queries in all calculus-based query classes. In the second part of this paper, we compare the expressive power of various complex value query languages extended with functions and their certain restricted versions. If we assume polynomial time (space) complexity of external functions and type usage by the database, such as density, then strongly embedded allowed inflationary (partial) fix-point queries express precisely QPTIME (QPSPACE). Finally, we show the relationship between properties such as embedded domain independence, finiteness and embedded allowed in various calculus-based query languages.
منابع مشابه
Domain-Independent Queries on Databases with External Functions
We investigate queries in the presence of external functions with arbitrary inputs and outputs (atomic values, sets, nested sets etc). We propose a new notion of domain independence for queries with external functions which, in contrast to previous work, can also be applied to query languages with fixpoints or other kinds of iterators. Next, we define two new notions of computable queries with ...
متن کاملSafety, domain independence and translation of complex value database queries
This paper considers the theory of database queries on the complex value data model with external functions. Motivated by concerns regarding query evaluation, we first identify recursive sets of formulas, called embedded allowed, which is a class with desirable properties of ‘‘reasonable” queries. We then show that all embedded allowed calculus (or fix-point) queries are domain independent and ...
متن کاملFounded by Benjamin Franklin in 1740 The Institute For Research In Cognitive Science Domain - Independent Queries on Databases with External Functions
We investigate queries in the presence of external functions with arbitrary inputs and outputs (atomic values, sets, nested sets etc). We propose a new notion of domain independence for queries with external functions which, in contrast to previous work, can also be applied to query languages with xpoints or other kinds of iterators. Next, we deene two new notions of computable queries with ext...
متن کاملApply Uncertainty in Document-Oriented Database (MongoDB) Using F-XML
As moving to big data world where data is increasing in unstructured way with high velocity, there is a need of data-store to store this bundle amount of data. Traditionally, relational databases are used which are now not compatible to handle this large amount of data, so it is needed to move on to non-relational data-stores. In the current study, we have proposed an extension of the Mongo...
متن کاملApply Uncertainty in Document-Oriented Database (MongoDB) Using F-XML
As moving to big data world where data is increasing in unstructured way with high velocity, there is a need of data-store to store this bundle amount of data. Traditionally, relational databases are used which are now not compatible to handle this large amount of data, so it is needed to move on to non-relational data-stores. In the current study, we have proposed an extension of the Mongo...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1999